What is the use of on_load() in Erlang programming?
2355
23-Feb-2016
Tarun Kumar
23-Feb-2016If the return value is not an atom then a warning error report will be sent to the error logger. and until the on_load() function returns ok the system will not terminated.
Syntax:
-on_load(Function_Name/0).